package com.manager.car.dao;

import java.util.List;

import com.manager.car.po.NewsInfo;
import com.manager.car.util.PageModel;


public interface INewsDao {

		public NewsInfo queryById(Integer id);
		public List<NewsInfo> queryAll(Integer typeid);
		public boolean save(NewsInfo news);
		public boolean delete(Integer id);
		public boolean update(NewsInfo news);
		public PageModel<NewsInfo> queryall(final int pageNo ,final int pageSize,final int typeid);
}
